% !TEX program = xelatex

\documentclass[UTF8]{book}

    \usepackage{ctex}
    \usepackage{amsmath}
    \usepackage{graphicx}

    \title{分布式算法与数据结构}
    \author{范辉}
    \date{\today}

    \newtheorem{question}{问题}
    \newtheorem{guess}{猜想}

    \begin{document}
    \maketitle

    \input{____tmp.tex}

    $floor(log_2^{distance})$

    \end{document}